package cmd

import (
	"fmt"
	"os"

	"github.com/spf13/cobra"
)

var tinykv = cobra.Command{
	Use:   "tinykv",
	Short: "simple kv storage standalone system",
	Run: func(cmd *cobra.Command, args []string) {
		// todo: we need to add some function here
	},
}

func init() {

}

func Execute() {
	if err := tinykv.Execute(); err != nil {
		fmt.Printf("Execute tinykv system failed, error=%s\n", err.Error())
		os.Exit(1)
	}
}
